<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; minimum-scale=1.0; maximum-scale=2.0" />
<title>酒店列表</title>
<link href="resources/css/hotellist.css" type="text/css" rel="stylesheet"/>
<style>
.hotelname img{padding-left:5px;}
</style>
</head>

<body>
<form id="hotellist">
    <fieldset id="datelist" class="color04 size12">入住日期：${ArrDate }&nbsp;&nbsp;离店日期：${DepDate }&nbsp;&nbsp;&nbsp;[共<span class="bold color05">166</span>家]</fieldset>
    <nav>
    	<ul>
        	<li id="a" class="color01"><dd>如家推荐</dd></li>
        	<li id="b" class="next"><dd>价格</dd></li>
        	<li id="C" class="next"><dd>评分</dd></li>
        </ul>
    </nav>
    <div id="hotel_list">
    <c:forEach items="${hotellst }" var="hotelinfo">
        			   <a href="room.html?hotelcd=${hotelinfo.hotelcd }&ArrDate=${ArrDate}&DepDate=${DepDate }">
				        <ul>
				        	<li class="hotelname"><img src="resources/img/yitel.gif"/><span class="color02 bold"><c:out value="${hotelinfo.hotelNm}" /></span></li>
				        	<li class="hotelpic"><img src="resources/img/001.gif" width="56" height="58"/></li>
				        	<li class="hoteldp"><span class="color01 size18 bold"> <c:out value="${hotelscore[hotelinfo.hotelcd]}" />  </span><span class="size11">分</span><dt class="color01">139&nbsp;点评</dt><dt>[徐汇区]&nbsp;[南京西路商业圈]</dt></li>
				        	<li class="hotelprice"><span class="price size11">￥</span><span class="price size18 bold"><c:out value="${hotelinfo.minPrice}" /></span><span class="size11">	起</span><dt><img src="resources/img/price01.gif"/><img src="resources/img/price02.gif" /></dt></li>
				            <li class="hotelj"><img src="resources/img/cityselect.png"/></li>
				         </ul>
				         </a>
        	</c:forEach>
     
    </div>
    </form>
</body>
</html>
